PROGRAM_NAME=hypertorify
VERSION=alpha

install:
	install -Dm644 LICENSE /usr/share/licenses/hypertorify/LICENSE
	install -Dm644 README.md /usr/share/doc/hypertorify/README.md
	install -Dm755 hypertorify.sh /usr/bin/$(PROGRAM_NAME)
	mkdir -p /usr/share/$(PROGRAM_NAME)/backups
	install -Dm644 ruleset.nft /usr/share/$(PROGRAM_NAME)/

uninstall:
	rm -Rf /usr/bin/$(PROGRAM_NAME)
	rm -Rf /usr/share/$(PROGRAM_NAME)
	rm -Rf /usr/share/licenses/$(PROGRAM_NAME)
	rm -Rf /usr/share/doc/$(PROGRAM_NAME)
